package org.jb.coinche.client.gui.card;

import java.util.Collection;

import org.jb.coinche.client.business.model.Card;

public interface CardList {

	/**
	 * 
	 * @author jeremie
	 *
	 */
	public static interface CardListener {
		
		void cardSelected( Card card );
	}
	
	/**
	 * 
	 * @param cardListener
	 */
	public void setCardListener(CardListener cardListener);

	/**
	 * 
	 * @param cards
	 */
	public void setCardList(Collection<Card> cards);
	
	/**
	 * 
	 * @param cards
	 */
	public void setCardList(Collection<Card> cards, Collection<Card> playables );

	/**
	 * 
	 * @param clickable
	 */
	public void setClickable(boolean clickable);

}